package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author scw
 * @date 2021/1/8
 */
@TableName("cps_user_cash")
public class CpsUserCash {

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Long uid;

    /**
     * 提现账户类型: 1-银行卡 2-支付宝
     */
    private Byte cashType;

    /**
     * 申请提现金额
     */
    private BigDecimal amount;

    /**
     * 实际到账金额
     */
    private BigDecimal cashAmount;

    /**
     * 手续费
     */
    private BigDecimal poundage;

    /**
     * 提现状态: 0-申请中 1-提现处理中 2-审核失败 3-提现到账 4-提现失败
     */
    private Byte status;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 审核时间
     */
    private Date checkTime;

    /**
     * 审核备注
     */
    private String checkRemark;

    /**
     * 审核操作人ID
     */
    private Long checkOperatorId;

    /**
     * 审核操作人姓名
     */
    private String checkOperatorName;

    /**
     * 提现账户
     */
    private String cashAccount;

    /**
     * 提现姓名
     */
    private String cashUserName;

    /**
     * 提现身份证号
     */
    private String cashIdCard;

    /**
     * 表单提交参数信息
     */
    private String parameters;

    /**
     * 云账户-网关返回码
     */
    private String gatewayCode;

    /**
     * 云账户-网关返回码描述
     */
    private String gatewayMsg;

    /**
     * 云账户-支付返回状态码
     */
    private String payCode;

    /**
     * 云账户-支付返回信息
     */
    private String payMsg;

    /**
     * 云账户-订单号
     */
    private String payNo;

    /**
     * 云账户-支付返回时间
     */
    private Date payTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记: 0-正常 1-删除
     */
    private Byte delFlag;

    /**
     * 云账户-订单状态码
     */
    private String payStatus;

    /**
     * 云账户-订单状态说明
     */
    private String payStatusMessage;

    /**
     * 云账户-订单详细状态码
     */
    private String payStatusDetail;

    /**
     * 云账户-订单详细状态说明
     */
    private String payStatusDetailMessage;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Byte getCashType() {
        return cashType;
    }

    public void setCashType(Byte cashType) {
        this.cashType = cashType;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getCashAmount() {
        return cashAmount;
    }

    public void setCashAmount(BigDecimal cashAmount) {
        this.cashAmount = cashAmount;
    }

    public BigDecimal getPoundage() {
        return poundage;
    }

    public void setPoundage(BigDecimal poundage) {
        this.poundage = poundage;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckRemark() {
        return checkRemark;
    }

    public void setCheckRemark(String checkRemark) {
        this.checkRemark = checkRemark;
    }

    public Long getCheckOperatorId() {
        return checkOperatorId;
    }

    public void setCheckOperatorId(Long checkOperatorId) {
        this.checkOperatorId = checkOperatorId;
    }

    public String getCheckOperatorName() {
        return checkOperatorName;
    }

    public void setCheckOperatorName(String checkOperatorName) {
        this.checkOperatorName = checkOperatorName;
    }

    public String getCashAccount() {
        return cashAccount;
    }

    public void setCashAccount(String cashAccount) {
        this.cashAccount = cashAccount;
    }

    public String getCashUserName() {
        return cashUserName;
    }

    public void setCashUserName(String cashUserName) {
        this.cashUserName = cashUserName;
    }

    public String getCashIdCard() {
        return cashIdCard;
    }

    public void setCashIdCard(String cashIdCard) {
        this.cashIdCard = cashIdCard;
    }

    public String getParameters() {
        return parameters;
    }

    public void setParameters(String parameters) {
        this.parameters = parameters;
    }

    public String getGatewayCode() {
        return gatewayCode;
    }

    public void setGatewayCode(String gatewayCode) {
        this.gatewayCode = gatewayCode;
    }

    public String getGatewayMsg() {
        return gatewayMsg;
    }

    public void setGatewayMsg(String gatewayMsg) {
        this.gatewayMsg = gatewayMsg;
    }

    public String getPayCode() {
        return payCode;
    }

    public void setPayCode(String payCode) {
        this.payCode = payCode;
    }

    public String getPayMsg() {
        return payMsg;
    }

    public void setPayMsg(String payMsg) {
        this.payMsg = payMsg;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getPayStatusMessage() {
        return payStatusMessage;
    }

    public void setPayStatusMessage(String payStatusMessage) {
        this.payStatusMessage = payStatusMessage;
    }

    public String getPayStatusDetail() {
        return payStatusDetail;
    }

    public void setPayStatusDetail(String payStatusDetail) {
        this.payStatusDetail = payStatusDetail;
    }

    public String getPayStatusDetailMessage() {
        return payStatusDetailMessage;
    }

    public void setPayStatusDetailMessage(String payStatusDetailMessage) {
        this.payStatusDetailMessage = payStatusDetailMessage;
    }
}

